#include "ShaderMgr.h"


ShaderMgr::ShaderMgr(unsigned p_NumberOfResources) : ResourceMgr(p_NumberOfResources, EFFECT_BUFFER_ID)
{
	acquireResourceBuffer<T_SHADER>();
}


ShaderMgr::~ShaderMgr()
{
	Unload<T_SHADER>();
}

RHANDLE ShaderMgr::Load(std::wstring p_Identifier)
{
	//returning a handle 
	return getHandle<T_SHADER>(p_Identifier);
}

//
//void ShaderMgr::UnloadAll()
//{
//	Unload<T_SHADER>();
//}